<form class="layui-form seller-form" action="">
    <div class="layui-form-item">
        <div class="layui-inline">
            <div class="layui-input-inline seller-inline-3" style="width: 200px;">
                <input type="text" name="card_type" id="card_type" lay-verify="title" placeholder="Card Num" autocomplete="off"
                       class="layui-input" value="">
            </div>
        </div>
        <div class="layui-inline">
            <div class="layui-input-block">
                <button class="layui-btn layui-btn-sm" lay-submit lay-filter="search_card"><i class="iconfont icon-chaxun"></i>Search</button>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline" style="font-size: 20px;">
            <span>(connexpay)已开开头: </span>
            <br/>
            <span>485997</span>;
            <br/>
            <span>451946</span>;
            <br/>
            <span>440872</span>;
            <br/>
            <span>404038</span>;
            <br/>
            <span>559666</span>;
            <br/>
            <span>559292</span>;
            <br/>
            <span>519075</span>;
            <br/>
            <span>531993</span>;
            <br/>
            <span>534786</span>;
            <br/>
            <span>553437</span>;
            <br/>
            <span>556150</span>;
            <br/>
            <span>556371</span>;
            <br/>
        </div>
    </div>
</form>
<div class="table-body">
    <table id="balanceTable" lay-filter="balanceTable"></table>
</div>
<script>
    layui.use(['form', 'table'], function () {
        var table   = layui.table;
        layui.form.on('submit(search_card)', function () {
            JsPost('{:url("toolbar/testAddCard")}', {
                card_type:$("#card_type").val(),
            },function (re) {
                alert(re.msg);
            });
        });
    });
</script>